//
//  prototipoEcoFriendsAppDelegate.h
//  prototipoEcoFriends
//
//  Created by mayraDonaji on 9/20/10.
//  Copyright __MyCompanyName__ 2010. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>

@class prototipoEcoFriendsViewController;

@interface prototipoEcoFriendsAppDelegate : NSObject <UIApplicationDelegate> {
    UIWindow *window;
    prototipoEcoFriendsViewController *viewController;
	
	// CoreData attributes
	NSManagedObjectModel *managedObjectModel_;
	NSManagedObjectContext *managedObjectContext_;
	NSPersistentStoreCoordinator *persistentStoreCoordinator_;
	
	//JSON
	NSMutableData *responseData;
	NSMutableArray *tweets;
}

@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet prototipoEcoFriendsViewController *viewController;

// CoreData properties
@property (nonatomic, retain, readonly) NSManagedObjectModel *managedObjectModel;
@property (nonatomic, retain, readonly) NSManagedObjectContext *managedObjectContext;
@property (nonatomic, retain, readonly) NSPersistentStoreCoordinator *persistentStoreCoordinator;

//JSON
@property (nonatomic, retain) NSMutableData * responseData;
@property (nonatomic, retain) NSMutableArray *tweets;

- (NSString *)applicationDocumentsDirectory;

@end

